package com._54programer.hazelcast;

import org.springframework.beans.factory.annotation.Autowired;

import com._54programer.ws.SID;
import com.hazelcast.core.HazelcastInstance;

public class HPush{

	
	@Autowired
	private HazelcastInstance Hi;

	@Autowired
	private SID SSID;
	
	public void pushMsg(String message) {
		Hi.getTopic(SSID.ID()).publish(message);
	}
	
}
